#ifndef DELETEPROCESS_H
#define DELETEPROCESS_H

#include "LogicProcess.h"

class DeleteProcess:public LogicProcess{
private:
	//TaskList *needList;
	void backupToUndo(int index);
	bool canDelete(int index);
public:
	DeleteProcess(string cmdString,allTaskList *givenLists,allCommandStack *givenStacks);
	DeleteProcess(Task task,TaskList *list);
	void HandleProcesss();
	void quickProcess(Task task);
	bool RemoveTask(TaskList *needList,int DeleteIndex);
	
};
#endif